package com.guodu.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "NOTICEMANAGER")
public class Noticemanager implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	@Id
	@Column(name = "NOTICE_ID", nullable = false, length = 20)
	private String noticeId;
	@Column(name = "NOTICE_HEAD", length = 500)
	private String noticeHead;
	@Column(name = "NOTICE_MATTER", length = 500)
	private String noticeMatter;
	@Column(name = "NOTICE_FILE", length = 50)
	private String noticeFile;
	@Column(name = "UNITS_ID", length = 50)
	private Long unitsId;
	@Column(name = "STATUS", precision = 2, scale = 0)
	private Long status;
	@Column(name = "CREATE_PEOPLE", nullable = false, precision = 20, scale = 0)
	private Long createPeople;
	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", nullable = false, length = 7)
	private Date createTime;
	@Column(name = "UNITS_NAMEZU", length = 2000)
	private String unitsNamezu;
	
	
	
	public String getNoticeId() {
		return noticeId;
	}
	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}
	public String getNoticeHead() {
		return noticeHead;
	}
	public void setNoticeHead(String noticeHead) {
		this.noticeHead = noticeHead;
	}
	public String getNoticeMatter() {
		return noticeMatter;
	}
	public void setNoticeMatter(String noticeMatter) {
		this.noticeMatter = noticeMatter;
	}
	public String getNoticeFile() {
		return noticeFile;
	}
	public void setNoticeFile(String noticeFile) {
		this.noticeFile = noticeFile;
	}
	public Long getUnitsId() {
		return unitsId;
	}
	public void setUnitsId(Long unitsId) {
		this.unitsId = unitsId;
	}
	public Long getStatus() {
		return status;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
	public Long getCreatePeople() {
		return createPeople;
	}
	public void setCreatePeople(Long createPeople) {
		this.createPeople = createPeople;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUnitsNamezu() {
		return unitsNamezu;
	}
	public void setUnitsNamezu(String unitsNamezu) {
		this.unitsNamezu = unitsNamezu;
	}
	
	
	



}